package com.dateDemo;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateDemo {

	public static void main(String[] args) {
			DateFormat instance = SimpleDateFormat.getInstance();
			Date date = new Date();
			String format = instance.format(date);
			System.out.println(format);
	}

}
